package com.kkw.shoppingmall.order.dao;

import com.kkw.shoppingmall.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 *
 * @author Kevin
 * @email 871828295@qq.com
 * @date 2021-05-10 14:09:04
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    /**
     * @param outTradeNo
     * @param code
     */
    void updateOrderStatus(@Param("outTradeNo") String outTradeNo, @Param("code") Integer code);
}
